//DateTest.cc
#include <iostream>
#include "Date.h"
//using namespace My_code;
int main()
{
    My_code::Date today;
    My_code::Date tomorrow = today;
    tomorrow.Add_day(100);
    today.Show();
    tomorrow.Show();
    std::cout<<My_code::power(4,3)<<std::endl;
    std::cout<<My_code::power(4.5,3)<<std::endl;
    std::cout<<My_code::power(4.0,-1)<<std::endl;
    My_code::Time t1;
    My_code::Time *t2 = new My_code::Time();
    t1.SetTime_h(22);
    t1.SetTime_m(10);
    t1.SetTime_s(30);
    t2 = &t1;
    t1.Show();
    t2->Show();
    return 0;
}